package com.neuedu.his5.entity;


import lombok.Data;

import java.time.LocalDate;

@Data
public class testUser {
     //user properties
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String phoneNumber;
    private LocalDate birthDate; // 注意：使用 LocalDate 类型
    private int age;   // 年龄可以通过计算得出，不需要存储在数据库中

    public testUser(Integer id, String john, LocalDate birthDate) {
        this.id = id;
        this.username = john;
        this.birthDate = birthDate;
    }

    public testUser() {

    }

    public testUser(String alice, int i) {
        this.username = alice;
        this.age = i;
    }
}
